package com.mab.mall.cart.service;

import com.mab.mall.cart.vo.Cart;
import com.mab.mall.cart.vo.CartItem;

import java.util.List;
import java.util.concurrent.ExecutionException;

public interface ICartService {

    Cart getCarList();

    CartItem addCart(Long skuId, Integer num) throws ExecutionException, InterruptedException;

    List<CartItem> getUserCarItems();
}
